<?php
return [

    "jackiedo/dotenv-editor"=>[
    	'publish'=>[
    		'provider'=>'Jackiedo\DotenvEditor\DotenvEditorServiceProvider',
    		'tag'=>'config'
    	],
    	'artisan'=>['dotenv']
    ],
    'brotzka/laravel-dotenv-editor'=>[
    	'ver'=>'dev-master',
    	'publish'=>[
    		"provider"=>"Brotzka\DotenvEditor\DotenvEditorServiceProvider"
    	],
    	'repo'=>[ /// composer config repo --json '{}'
    		'type'=>'vcs',
    		'url' =>'https://gitee.com/zhouxk/laravel-dotenv-editor'    		
    	],
    	'config'=>[
    		'dotenveditor'=>[
    			'template'   => 'dotenv-editor::master',
    			'overview'   => 'dotenv-editor::overview'
    		]    		
    	],
    	'route'=>['/admin/env']
    ],    
    //https://github.com/mikehaertl/php-shellcommand
	'mikehaertl/php-shellcommand'=>[
		'ver'=>'dev-master'
	],
    'daftspunk/laravel-config-writer'=>[
    	'ver'=>'dev-master'
    ],
    'josh/laravel-terminal'=>[
    	'ver'=>'dev-develop'
    ],
    //https://github.com/spatie/laravel-web-tinker
	'spatie/laravel-web-tinker'=>[ 
		'ver'=>null,
		'repo'=>[],			
		'publish'=>[
			'pre' =>'php artisan web-tinker:install',				
			'provider'=>'Spatie\WebTinker\WebTinkerServiceProvider',
			'tag'=>['config'],
			'post'=>''
		],
		'config' =>[
			'web-tinker'=>[
				'theme'=>'dark'
			]
		],
		'route'  =>[
			'/tinker'
		]
	],
	'spatie/laravel-artisan-dd'=>[ //https://github.com/spatie/laravel-artisan-dd"

	],
	'barryvdh/laravel-ide-helper'=>[],//https://github.com/barryvdh/laravel-ide-helper#automatic-phpdoc-generation-for-laravel-facades"
	'alkhachatryan/laravel-web-console'=>[ //https://github.com/alkhachatryan/laravel-web-console
        'publish'=>[
        	'tag'  => 'webconsole'
        ],
        'route'=>[
        	'/webconsole'
        ]
    ],
    'recca0120/terminal:1.8.0'=>[ //https://github.com/recca0120/laravel-terminal
    	'publish'=>[	
            'provider'=>'Recca0120\Terminal\TerminalServiceProvider'
        ],
        'route'=>[
        	'/terminal'
        ]
    ],
    'jxlwqq/composer-viewer'=>[ //https://github.com/laravel-admin-extensions/composer-viewer
        'publish'=>[
        	"post" => "admin:import composer-viewer"
        ],
        'config'=>[
        	"admin"=>[                    
                'extensions' => [
                    'composer-viewer' => [
                        // Set this to false if you want to disable this extension
                        'enable' => true,
                        // Set the location of composer command
                        'which-composer' => '/usr/local/bin/composer', // !! it's important !!
                    ]
                ]
            ]
        ]
    ],
    //https://github.com/Hi-Folks/lara-lens 
	//--show options: all config connection database runtime migration php-ext php-ini 
	//--skip-{}: config connection database runtime migration php-ext php-ini 
	//--style={}: default borderless compact symfony-style-guide box box-double
    "hi-folks/lara-lens"=>[
    	'publish'=>[
            "tag"=>"config",
            "provider"=>"HiFolks\\LaraLens\\LaraLensServiceProvider"
        ],
        'config'=>[
        ],
        'env'=>[
            'LARALENS_WEB_ENABLED'=>'on'
        ]
    ],
    'laravel-admin-ext/phpinfo'=>[// https://github.com/laravel-admin-extensions/phpinfo
    	'publish'=>[
    		'post' => 'admin:import phpinfo',
    	],
    	'config' =>[
    		'admin'=>[
	            'extensions' => [
	                'phpinfo' => [        
	                    // Set this to false if you want to disable this extension
	                    'enable' => true,                        
	                    // What information to show，see http://php.net/manual/en/function.phpinfo.php#refsect1-function.phpinfo-parameters
	                    'what' => INFO_ALL,                        
	                    // Set access path，defaults to `phpinfo`
	                    //'path' => '~phpinfo',
	                ]
	            ]
	        ]
    	]	
    ],      
    'laravel-admin-ext/helpers'=>[//https://github.com/laravel-admin-extensions/helpers
    	'ver'=>'1.2',
    ],
    "laravel-admin-ext/api-tester"=>[    //https://github.com/laravel-admin-extensions/api-tester
        "publish"=>[
            "post" => "admin:import composer-viewer",
            "tag"  => "api-tester"
        ], 
        "config"=>[
            "admin"=>[                    
                'extensions' => [    
                    'api-tester' => [                
                        // route prefix for APIs
                        'prefix' => 'api',
                        // auth guard for api
                        'guard'  => 'api',
                        // If you are not using the default user model as the authentication model, set it up
                        // 'user_retriever' => function ($id) {
                        //     return \App\User::find($id);
                        // },
                    ]
                ],
            ]
        ],
    ],  
    'wnx/laravel-stats'=>[//https://github.com/stefanzweifel/laravel-stats     
    	'ver'=>'dev-master',
    	'publish'=>[
    		"provider"=>"Wnx\\LaravelStats\\StatsServiceProvider"
    	]
    ],
    "filp/whoops"=>[],// https://github.com/filp/whoops  https://github.com/cybercog/laravel-whoops-editor
    //https://github.com/GrahamCampbell/Laravel-Exceptions
    'graham-campbell/exceptions'=>[
    	'ver'=>'^14.1',
    	'publish'=>[
            'provider'=>'GrahamCampbell\Exceptions\ExceptionsServiceProvider'
        ],
    ],
    //https://github.com/laravel-admin-extensions/log-viewer
    'laravel-admin-ext/log-viewer'=>[
    	'publish'=>[
            "post" => "admin:import log-viewer",                
        ], 
    ],
    //https://github.com/ARCANEDEV/LogViewer/blob/master/_docs/1.Installation-and-Setup.md  
    'arcanedev/log-viewer'=>[
    	'ver'=>'v7.x-dev',            
        'publish'=>[
            "post" => "log-viewer:publish"
        ]
    ],
    //https://github.com/ericmakesstuff/laravel-server-monitor
    //https://github.com/serverfarmer/serverfarmer
    // app/Console/Kernel.php
    // protected function schedule(Schedule $schedule)
    // {
    //    $schedule->command('monitor:run')->daily()->at('10:00');
    //    $schedule->command('monitor:run HttpPing')->hourly();
    // }
    'ericmakesstuff/laravel-server-monitor'=>[
    	'ver'=>'dev-master',
    	'publish'=>[
        	'provider'=>'EricMakesStuff\\ServerMonitor\\ServerMonitorServiceProvider'  
        ],
        'schedule'=>[
        	[
                "command"=>"monitor:run",
                "when"=>[
                    "cycle"=>"daily",
                    "at"   =>"10:00",
                ]
            ],
            [
                "command"=>"monitor:run HttpPing",
                "when"=>[
                    "cycle"=>"hourly",                        
                ]
            ]
        ]
    ],
    // https://github.com/spatie/laravel-server-monitor
    'spatie/laravel-server-monitor'=>[
    	'ver'=>'dev-master',
    	'publish'=>[
    		'provider'=>'Spatie\ServerMonitor\ServerMonitorServiceProvider',
        	'tag'=>['migrations','config'],
        	'post'=>'php artisan migrate'
    	],
    	'config'=>[
    		"server-monitor"=>[
                "notifications.mail.to"          =>"zhouxiaokai@hzyiru.com",
                // "notifications.slack.webhook_url"=>"env('SERVER_MONITOR_SLACK_WEBHOOK_URL')",
            ]                
    	]
    ],
    //https://github.com/spatie/laravel-uptime-monitor
    "spatie/laravel-uptime-monitor"=>[
    	'publish'=>[
        		'provider'=>'Spatie\UptimeMonitor\UptimeMonitorServiceProvider'
    	]
    ],
    //https://github.com/spatie/laravel-schedule-monitor                  
    "spatie/laravel-schedule-monitor"=>[
    	'publish'=>[
	        "provider"=>"Spatie\UptimeMonitor\UptimeMonitorServiceProvider",
	        "tag"=>["migrations","config"]
	    ]
    ], 
    "vinkla/hashids"=>[
    	'ver'=>'8.1.0'
    ],
    'webpatser/laravel-uuid'=>[
    	'ver'=>'^3.0'
    ],
    // Json
    //https://github.com/spatie/laravel-schemaless-attributes JSON字段处理    
    'spatie/laravel-schemaless-attributes'=>[
    	'trait'=>['SchemalessAttributesTrait']
    ],
    //https://github.com/staudenmeir/eloquent-json-relations
    //HasJsonRelationships;
    'staudenmeir/eloquent-json-relations'=>[
    	'ver'=>'dev-master',
    	'repo'=>[ /// composer config repo --json '{}'
    		'type'=>'vcs',
    		'url' =>'https://gitee.com/zhouxk/eloquent-json-relations',
    		'options'=>[]
    	],
    	'trait'=>['HasJsonRelationships']
    ],

    'kkomelin/laravel-translatable-string-exporter'=>[

    ],
    //https://github.com/dompdf/dompdf
    // 网络加载 https://www.php.net/manual/en/function.file-get-contents.php
    'dompdf/dompdf'=>[    	
    ],
    //https://github.com/mikehaertl/phpwkhtmltopdf
	'mikehaertl/phpwkhtmltopdf'=>[
		'ver'=>'dev-master',
		'repo'=>[ /// composer config repo --json '{}'
    		'type'=>'vcs',
    		'url' =>'https://gitee.com/zhouxk/phpwkhtmltopdf'    		
    	],
	],
    //https://github.com/barryvdh/laravel-snappy
    //https://github.com/KnpLabs/snappy
    'barryvdh/laravel-snappy'=>[
    	'publish'=>[
    		"provider"=>"Barryvdh\Snappy\ServiceProvider"	        
    	],
    	'dependency'=>[
    		'composer require h4cc/wkhtmltopdf-amd64 0.12.x',
    		'composer require h4cc/wkhtmltoimage-amd64 0.12.x'
    	],    	
    	'env'=>[
    		'WKHTML_PDF_BINARY'=>base_path('vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64'),
    		'WKHTML_IMG_BINARY'=>base_path('vendor/h4cc/wkhtmltoimage-amd64/bin/wkhtmltoimage-amd64')
    	]
    ],
    'jeremykenedy/laravel2step'=>[
    	'publish'=>[
    		'tag'=>'laravel2step'
    	],
    	'env'=>[
    		'LARAVEL_2STEP_ENABLED'=>'true',
			'LARAVEL_2STEP_DATABASE_CONNECTION'=>'db_yiru_test',
			'LARAVEL_2STEP_DATABASE_TABLE'=>'laravel2step',
			'LARAVEL_2STEP_USER_MODEL'=>'App\\\\Models\\\\User',
			'LARAVEL_2STEP_EMAIL_FROM'=>'"1019972897@qq.com"',
			'LARAVEL_2STEP_EMAIL_FROM_NAME'=>'"1019972897@qq.com"',
			'LARAVEL_2STEP_EMAIL_SUBJECT'=>'"注册认证码"',
			'LARAVEL_2STEP_EXCEEDED_COUNT'=>3,
			'LARAVEL_2STEP_EXCEEDED_COUNTDOWN_MINUTES'=>'1440',
			'LARAVEL_2STEP_VERIFIED_LIFETIME_MINUTES'=>'360',
			'LARAVEL_2STEP_RESET_BUFFER_IN_SECONDS'=>'300',
			'LARAVEL_2STEP_CSS_FILE'=>'"css/laravel2step/app.css"',
			'LARAVEL_2STEP_APP_CSS_ENABLED'=>'false',
			'LARAVEL_2STEP_APP_CSS'=>'css/app.css',
			'LARAVEL_2STEP_BOOTSTRAP_CSS_CDN_ENABLED'=>'true',
			'LARAVEL_2STEP_BOOTSTRAP_CSS_CDN'=>'"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"'
    	],
    	'migrate'=>[
    		'table'=>'laravel2step'
    	]
    ],		
    'laravel/telescope'=>[
    	'publish'=>[],
    ],
    //https://github.com/spatie/string
    //https://github.com/danielstjules/Stringy/blob/master/composer.json
    'danielstjules/stringy'=>[

    ],
    //https://gitee.com/zhouxk/laravel-translation-manager
    'vsch/laravel-translation-manager'=>[
        'ver'=>'dev-master',
        "publish"=>[
            "provider"=>"Vsch\TranslationManager\ManagerServiceProvider",
            "tag"=>["migrations",'public','config']
         ],
         'repo'=>[
            "type"=>"vcs",
            "url"=>"https://gitee.com/zhouxk/laravel-translation-manager"
         ]
    ]

];